package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 8/27/13
 * Time: 12:29 PM
 * To change this template use File | Settings | File Templates.
 */
public class User {


    private String password;
    private String userLibraryNumber;

    public User(String userLibraryNumber, String password) {
        this.password = password;
        this.userLibraryNumber = userLibraryNumber;
    }


    public boolean verifyPassword(String passwordTested) {
        if(passwordTested == password){
            return true;
        }else{
            return false;
        }
    }

    public String getUserLibraryNumber() {

        return userLibraryNumber;
    }

    public Object getPassword() {
        return password;
    }
}
